import { login } from '../mock/getUserInfo';

const actions = {
  doLogin(context) {
    const { commit } = context;

    login().then(response => {
      commit("handleLogin", response)
    })
  },
}

const HomeAction = {}

export default { ...actions, ...HomeAction };